const BASEURL = 'http://mock-api.com/7gPx3Rgl.mock/smilevue/'
const LOCALURL = 'http://localhost:3000/'
const URL = {
  getShoppingMailInfo: BASEURL + 'index',
  getGoodsInfo: BASEURL + 'getGoodsInfo',
  registerUser: LOCALURL + 'user/register', // 注册
  login: LOCALURL + 'user/login',     //登录
  getDetailGoodsInfo: LOCALURL + 'goods/getDetailGoodsInfo',  //商品详细数据
  getCategoryList:LOCALURL+'goods/getCategoryList',     //得到大类信息
  getCategorySubList:LOCALURL+'goods/getCategorySubList',   //得到小类信息
  getGoodsListByCategorySubID:LOCALURL+'goods/getGoodsListByCategorySubID',   //得到小类商品信息
}

module.exports = URL